<?php 
$CI =& get_instance();
$CI->load->database();
$CI->load->library("front/header_lib");
$query_pages = $CI->db->get_where('bur_staticpages',array('staticpage_link'=>'landing_page'));
foreach($query_pages->result() as $row_vals)
{
    $title = $row_vals->staticpage_title;
	$metakey_page = $row_vals->staticpage_metakey;
    $metadesc_page = $row_vals->staticpage_metadesc;  
}
$CI->header_lib->display_header_element(array("script"=>array("jquery-1.4.2"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$datas['active_mene_home'] = 1;
$CI->header_lib->display_header($datas);
?>
<!--body content starts-->
<style>
.error{
display:none;    
}
.searchform{
    position: relative;
    
}
.search_col{
    float: left;
    width:136px;
}
.search_col_2{
    float: left;
    width:200px;
  
}
.adv_search_form{
    float: left;
  
    padding:13px;
    border: 5px solid gray;
    
}
#height_stop,  #weight_stop{
    margin:5px 0px 0px 20px;
}
#weight_start, #height_start{
    margin:5px 0px 0px 0px;
}
.title_css{
    padding:15px 0px 10px 0px;
    display: block;
}
</style>
<div id="main">

<?php $this->load->view(TEMPLATE_NAME.'/front/side_left'); ?>

<div id="middle">
<div class="adv_search_form">
<?php echo form_open('directory');?>

<div class="search_col">

<input id="search" style="width:120px ; padding:4px 2px 4px 4px;  border: 1px solid #CCCCCC; background-color: #ffffff;" class="dir_searchtxt" name="search" type="text" value="" onfocus="this.value=''" maxlength="300" onclick="this.select();" />
<br /><br />
                          <select name="province" style="width:120px ;">
                                <option value="">Select cities</option>
                                <?php if(!empty($region_list)){
                              foreach($region_list as $key =>$value){
                             if($value['country'] == '2541')
                            $region_list_1[] = $value;
                            
                            if($value['country'] == '2540')
                            $region_list_2[] = $value;
 
                                             }
                            }
                            if(!empty($region_list_1)): ?><optgroup label="Standard Cities" >
                                <?php foreach($region_list_1 as $key=>$value): ?>
                                <option value="<?php echo $value['id']?>" <?php echo ($company_detail['region_id']==$value['id'])?'selected':'';?>><?php echo $value['name'] ?></option>
                                <?php endforeach;?></optgroup>
                                <?php endif;
                             if(!empty($region_list_2)): ?><optgroup label="International Cities" >
                                <?php foreach($region_list_2 as $key=>$value): ?>
                                <option value="<?php echo $value['id']?>" <?php echo ($company_detail['region_id']==$value['id'])?'selected':'';?>><?php echo $value['name'] ?></option>
                                <?php endforeach;?></optgroup>
                                <?php endif;
                            
                            ?> 
                                </select>
                        	<br /><br />

			<legend>Type</legend><br />
            <?php
            foreach($services_list as $key=>$value){
           if($value['services']=='Type')
          { ?>
          
              <div class="div014">
                <input type="radio"  class="services_type" id="services_type<?php echo $value['id']; ?>" name="aservices_type"
                <?php if(in_array($value['id'] , (array)$company_services)): ?>checked="checked"<?php endif; ?> 
                value="<?php echo $value['id'] ?>">
                </div>
              <?php echo $value['name'] ?>
               <div class="clear"></div>
           
        <?php  }}
        ?><br />
        	<legend>Gender</legend><br />
            <?php
            foreach($services_list as $key=>$value){
           if($value['services']=='Gender')
          { ?>
          
              <div class="div014">
                <input type="radio" id="gender<?php echo $value['id'];  ?>"name="aservices[]"
                <?php if(in_array($value['id'] , (array)$company_services)): ?>checked="checked"<?php endif; ?> 
                value="<?php echo $value['id'] ?>" />
                </div>
              <?php echo $value['name'] ?>
             <div class="clear"></div>
              
        <?php  }}
        ?>
			
		
<br />
		
</div>

<div class="search_col">
	Category<br/>
		 <?php
          foreach($services_list as $key=>$value){
           if($value['services']=='Category')
          { 
           ?>  
             
                <input type="checkbox" name="aservices[]" id="cat<?php echo $value['id'];?>"
                <?php if(in_array($value['id'] , (array)$company_services)): ?>checked="checked"<?php endif; ?> 
                value="<?php echo $value['id'] ?>" />
                
                <label for="cat<?php echo $value['id'];?>"> <?php echo $value['name'] ?></label>
                <br />       
        <?php  }}?>
			<label for="spam[]" class="error">Please select at least two types of spam.</label>
	

</div>
<div class="search_col">
<p>
		<label for="fruit">Hair Color</label><br/>
		<select id="hair color"  name="aservices[]"  multiple="multiple"  style="height: 120px;" title="">
         <?php
          foreach($services_list as $key=>$value){
           if($value['services']=='Hair Color')
          { 
           ?>  
             <option <?php if(in_array($value['id'] , (array)$company_services)): ?>checked="checked"<?php endif; ?> value="<?php echo $value['id'] ?>"><?php echo $value['name'] ?> </option> 
                    
        <?php  }}?>
			<label for="spam[]" class="error">Please select at least two types of spam.</label>
			
		</select>
	</p>
</div>
<div class="search_col">
<p>
		<label for="fruit">Ethnicity</label><br/>
	<select id="hair color"  name="aservices[]" multiple="multiple"  style="height: 120px;" title="">
         <?php
          foreach($services_list as $key=>$value){
           if($value['services']=='Ethnicity')
          { 
           ?>  
             <option <?php if(in_array($value['id'] , (array)$company_services)): ?>checked="checked"<?php endif; ?> value="<?php echo $value['id'] ?>"><?php echo $value['name'] ?> </option> 
                    
        <?php  }}?>
			<label for="spam[]" class="error">Please select at least two types of spam.</label>
			
		</select>
	</p>
</div>
<div class="search_col">
     <div>
         <label class="title_css">Weight Range: </label>
            <label for="weight_start">From</label>
            <select  name="weight_start" id="weight_start">
                <option value ="-1">Any</option>
                 <?php generate_range(30, 200, 5); ?>
            </select><br/>
            <label for="hweight_stop">To</label>
            <select  name="weight_stop" id="weight_stop">
                <option value ="-1">Any</option>
                   <?php generate_range(30,200,5);?> 
            </select>
    </div>
    <div class="clear"></div>
</div>
<div class="search_col">
    <div>
            <label class="title_css">Height Range: </label>
            <label for="height_start">From</label>
            <select  name="height_start" id="height_start">
                <option value ="-1">Any</option>
                 <?php generate_range(3,7,0.5);?>;?>
                
            </select><br />
            <label for="height_stop">To</label>
            <select  name="height_stop" id="height_stop">
                <option value ="-1">Any</option>
                 <?php generate_range(4,10,0.5);?>
               
            </select>
    </div>
    <div class="clear"></div>
</div>

<div class="clear"></div>
<p>
			<input class="submit" type="submit" value="Submit"/>
            	<input class="submit" type="reset" value="Reset"/>
		</p>

<?php echo form_close();?>


</div></div>

<?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?>
<!--body content ends-->
<span class="clear"></span>
<div  class="bottom_detail">
Kyprisguide.com&trade (also known as mykyprisguide.com&trade) The Best Guide to Erotic Entertainment&trade offers you free access to 1000's of real adult entertainers and businesses in cities throughout the US,  Mexico, UK and Canada. The Best Guide to Adult Entertainers&trade! Inside you will find photos (videos coming soon) and contact information for adult entertainment services ranging from your local elegant escort companion,  to  adult shops and community event boards. You will always find the finest erotic entertainment on kyprisguide.com&trade for  female/male escorts, erotic massage, entertainment, shemales, dancers, shopping, and professional services in your city and around the world.
www.kyprisguide.com&trade (also known as www.kyprisguide.com. www.mykyprisguide.com, and kyprisads.com&trade) is not an escort agency, nor can we make referrals or recommendation on anyone advertising on this site. If you wish to contact any of the following advertisers
female escort services, exotic dancers, shemale escorts, strippers and other adult entertainers who advertise on kyprisguide.com&trade, please use the contact information in the individual advertisers page.
Copyright &copy; 2010-2011 kyprisguide.com, Inc. All rights reserved. 
You may not reproduce, modify, rent, lease, loan, sell, distribute, mirror, frame, republish, download, store on a retrieval system, transmit, or create derivative works of the website or its content, in whole or in part, by any means without the express written consent from www.kyprisguide.com
This Site is exempt from the provisions of 18 U.S.C. &#167;2257.
<br />
<br />
</div>  
<?php
$CI->load->library("front/footer_lib");
$CI->footer_lib->display_footer();
$CI->footer_lib->display_footer_element();

?>
<script type="text/javascript">
$(document).ready(function(){
    /* $(".submit").click(function(){ alert($("#search").val());
        if( $("#search").val() == 'Search .......')
        {
            $("#search").val('');
        }
     });*/
   /* $(".services_type").change(function(){
        var var_name = $("input[name='services_type']:checked").val();
       if(var_name!=''){
       $("#type").val(var_name);
       }
     
    });*/
});
</script>